<script type="text/javascript">
$(function(){
	
	$("#tipDialog").dialog({
		autoOpen:false,
		modal:true,
		width:300,
		show:"slide",
		buttons:{
			"Close":function(){
				$(this).dialog("close");				
			}
		}
	});
	
	<{if $stop }>
		stopMsg();
	<{/if}>
});

function checkContent(){
	if($("[name=message]").val() == ""){
		$("#message").html("<img src=\'/images/error.jpg\'>The message content can not be empty");
		return false;
	}
}

function stopMsg(){
	$("#tipDialog").html(' 您的帐号已停用，如需继续使用，请联系管理员! ').dialog("open");
}

</script>
<div class="position"><a href='/default/index'>Home</a> &gt; <a href='/merchant/my-account'>Merchant Center</a>  &gt; Your Account &gt; Contact Us</div>
<h4>Contact Us</h4>
<br/>
<div id="message">
<{if isset($message)}>
	<font color="red"><{$message}></font>
<{/if}>
</div>
<form method="post" onsubmit="return checkContent()">
<textarea rows="5" style="width:100%" name="message"></textarea><br/>
<div style="width:100%;text-align:center;">
<input type="image" src="/images/submit.gif">
</div>
</form>

<div id="tipDialog" style="display:none" title="Tip"></div>